const __vite__mapDeps=(i,m=__vite__mapDeps,d=(m.f||(m.f=["assets/DbypN5Mi2HIjxS.js","assets/DrFvzlh8agutd.js","assets/MpnPZlTSagutd.js","assets/9ND1FmV62IPdvA.css","assets/7ORAuVzy85i4h.js","assets/JLTbM6jQPQMM7.js","assets/2AZ41aXe85ygF.js","assets/Nc0jDSlw1t8dnT.js","assets/BfQegiIr3PfrX1.js","assets/DQa6Go684zgWvW.css","assets/CvJ0NTJ0VsvYH.css","assets/CEdVBGMt1yYXP.js","assets/CxIS3Vmt4fiLPx.js","assets/yH-KlQxw3Vi4N8.js","assets/B15kfdAE31Z9ol.js","assets/DXH9QBxW3aWipH.js","assets/DY_D5Q_I2Xyf8y.js","assets/Drdc3h_L3J5nVB.css","assets/Bv63GRwN2CzT7y.css","assets/CCewhls42GHWbj.js","assets/CCj6VPlz1IaCVz.css","assets/B3kwDvpE2Xyf8y.js","assets/DnwlHoCT3J5nVB.css","assets/CCH9BJ7a23Y5b1.js","assets/WInZ5KVARz5uC.js","assets/DZFz6IIX1esOcA.js","assets/sf48gIWk3aD96J.js","assets/CNvcbrnqc68oV.js","assets/BF-9IbgxcrTPo.js","assets/C-F322-dvEyQf.css","assets/DE1J_9T34aEgas.js","assets/BVZCn72e2R0fCO.js","assets/CHiPwZEN2XMjYu.js","assets/CCvHKAjf22jqhB.css","assets/C4pUzId_pqfZH.js","assets/ChwX1cPB3UBGtB.js","assets/CRBmC4XPagutd.js","assets/VUyFKd9n1qQCy8.css","assets/BFZRdTND2C7uvB.js"])))=>i.map(i=>d[i]);
import{_ as a}from"./MpnPZlTSagutd.js";import{d as w,p as D,M as L,N as O,O as m,P as R,n,h as T,s as i,c as p,b as u,u as e,o as t,Q as r,f as V,F as b}from"./DrFvzlh8agutd.js";import{w as _}from"./WInZ5KVARz5uC.js";import{u as W}from"./Nc0jDSlw1t8dnT.js";import{a as h}from"./IbEnSNbQjuqxK.js";import"./DZFz6IIX1esOcA.js";import"./sf48gIWk3aD96J.js";import"./CRB7nLEs3hcpv4.js";import"./Ba8fE4Bu4swc5U.js";const C={key:2},z=w({__name:"app-workspace",setup(x){const c=D("workspace");W("mode-app");const s=L(),d=r(()=>a(()=>import("./DbypN5Mi2HIjxS.js"),__vite__mapDeps([0,1,2,3,4,5,6,7,8,9,10]))),k=r(()=>a(()=>import("./CEdVBGMt1yYXP.js"),__vite__mapDeps([11,1,2,3,6,7,8,9,10]))),E=r(()=>a(()=>import("./CxIS3Vmt4fiLPx.js"),__vite__mapDeps([12,1,2,3,13,14,6,7,8,9,10]))),A=r(()=>a(()=>import("./DXH9QBxW3aWipH.js"),__vite__mapDeps([15,1,2,3,16,17,18]))),I=r(()=>a(()=>import("./CCewhls42GHWbj.js"),__vite__mapDeps([19,1,2,3,6,7,8,9,20]))),f=r(()=>a(()=>import("./B3kwDvpE2Xyf8y.js").then(o=>o.a),__vite__mapDeps([21,2,1,3,7,6,8,9,16,17,22]))),g=r(()=>a(()=>import("./CCH9BJ7a23Y5b1.js"),__vite__mapDeps([23,1,2,3,24,25,26,27,28,8,5,29,30,6,7,9,20]))),l=r(()=>a(()=>import("./BVZCn72e2R0fCO.js"),__vite__mapDeps([31,2,1,3,32,6,7,8,9,33]))),y=r(()=>a(()=>import("./C4pUzId_pqfZH.js"),__vite__mapDeps([34,1,2,3,35,36,26,8,37]))),v=r(()=>a(()=>import("./BFZRdTND2C7uvB.js"),__vite__mapDeps([38,1,2,3,4,5,6,7,8,9,10])));async function P(o){c("openWorkspace from page",o),o?await _.openWorkspace(o):await _.closeWorkspace()}return O(_.closeWorkspace),m(()=>s?.params?.workspaceId,o=>{c("+route open workspace",o),P(o)},{immediate:!0}),R("drop",h),n&&(n.useFunctions({uiOpenPreferences(){T.workspacePage("settings")},uiUndo(){},uiRedo(){}}),m(()=>i.workspace?.id,o=>n?.call.uiLocationWorkspace({id:o}))),(o,B)=>e(i).workspace==null?(t(),p(e(g),{key:0})):e(i).workspace?.ready?(t(),u(b,{key:1},[V(e(y)),e(s).params.itemId==="debug"?(t(),p(e(A),{key:0})):e(s).params.itemId==="settings"?(t(),p(e(l),{key:1})):e(s).params.itemId==="inbox"?(t(),p(e(I),{key:2})):e(s).params.itemId==="category"?(t(),p(e(k),{key:3})):e(s).params.itemId==="tag"?(t(),p(e(v),{key:4})):e(s).params.itemId==="contact"?(t(),p(e(E),{key:5})):e(s).params.itemId==="account"?(t(),p(e(d),{key:6})):(t(),p(e(f),{key:7}))],64)):(t(),u("div",C))}});export{z as default};